Adapt to old syntax.