metadata is no longer in a separate model