Added a few error messages.