Add flag to indicate that model was initialized using getOrStore on resourceCache