Compilation errors on Companion