Creation of new objects using NewResourceSpecification