Also TypeFactory.resource()