Remove some useless error types