Simplified trap statement.