Cleaned up unused errors.

Cleaned up unused errors.