Loss of type hints inside Layer.effect implementation - Effect Community