Add support for whitelisting class names and add missing language constructs