Add some logic around metadata checking, viewable metadata.