Implement typeof/in operators