More error catching.