Record CXXMethods as references