Merge pull request #929 from tchak/reference

reference should not be a reserved attribute name
Make #commit an alias for #save