Add Commit.valueOption method.