When determining which getter style to use for the object in question, the BaseMeta class should look at both dict's to try and locate the method. Fixes #18522