Implement an 'enter' trap.