Add helpful error messages.