Removed calls to error/2