Added page/element class namespace to the exceptions.
Added auto-discovery of page/element namespaces.