Implement dummy getOwnPropertyNames and enumerate traps.