I have two classes, A and B, both of which have methods that return an instance of the other. This situation works just fine when I am not using type hinting, however, I am