don't run require if class exists