Removed relational model and replaced with metadata model where needed.

Updated related code and tests.
It seems like this is never the correct thing to use since consuming code should always go through the provider-specific calls not the relational calls. So do we need this?