Removed unused exceptions.