Fixed an issue with ObjectResource.