Removed commented out code and enhanced RepoWriterBolt