Implement cache in option manager.