Small fixes. Compiler hook now works.