At the moment we're just checking if the class name matches the name of a built in class, which is pretty brittle. It will break if a user happens to write a class witht he same name. Is there a way of also checking that the class was defined in an internal header?