This should probably be `$getOwnPropertyNames` so that we get the symbols too.

Same in `getOwnPropertyDescriptor` below.