Use Object.* functions from the correct frame.