Extra error handling.