Add method to create cached object