Added the facility to have more than one resource type