Fixed source location and instance origin in stand-alone deriving error messages.