Fixed course class so it compiles clean