removed legacy extension and environment type