added cachedObject property attribute to enable object caching when the objects are Models