Added support for views in the metamodel.

This may be revised in the future.