Remove custom error types.