Added cache writer.