When rolling back, return the result and not the errors.
Added basic documentation.