Adding support for resource creation.