Fix code annotations to compile without errors