Support for static methods
This changes the implementation back to using getOwnPropertyNames, but only hoists enumerables and non-enumerable static methods.
This changes the implementation back to using getOwnPropertyNames, but only hoists enumerables and non-enumerable static methods.