Fixed documentation typo.
Added NewError.