Actually, some exceptions might remain uncaught - gotta fix that.