Cleaned up unused errors