Revert "Added changes to the metadata layer to support plugin metadata implementations."

This reverts commit 9bd7853df09c01a54b0236dc988910fab0ca428b.