Avoid polluting $error on module load

Closes #116