LangDB: Support compiling class definitions.