no need to check if class exists, fixed due to failing tests.