Made error import relative
Added untested implementations for api 1.9.0
Finished testing api 1.9.0 stuff