wargs now carries forward attributes of the root function