Add getMetaType and baseIsMeta helper functions.