Added overloaded asResponse method for ReferencedResource.