removed uneeded methods; added clarification for commit and patch