Issue with erasing `B` from the context and runtime error - Effect Community