Fix some uses of default_error_messages