declarative style for misc metadata (#428)