Moare error handling.