Adds missing semicolon.
Adds better support for errors.
v0.3.5-0