Bad typos.
Added docs about error handling.