Fix imports in metadata community