Creating a subclass for all PROV objects.