Removing unreferenced error handling.