Created inhertiable resource class.