[meta] some more metadata impls and other cleanups