Implemented Lazy Referencing for Resource Models