Add simple manipulation functions to read, revise and save prototxt files.