Remove two error declarations