Added commit field, simplified parsing code.