removed usage of some metadata helper functions in favor of core
metadatacache