Inject the environment in Mapper#initialize