Removed error reporting code.