Added serverwrite method for modularity