allow environments in Facebook extension class