Remove error type checking helpers