Add environment to OFApplication.