Implement switches
Add const handler
Add stub for unary math op, cleanup