Remove environment from Proc type