Removed errors with exceptions.