Remove unused errors