Add new error type.
Add safety module.
Closes #10 issue and prevents redefinition of internal methods.