Made compilation of classes an option