Adds support to use has_eav for metadata.