Removing errors references to prepare for implementation of exceptions.