Moves core_ext library to environment level.