Cannot use instanceof.