Added mockup for cached writes