Adapt to latest WoltLab/WCF changes

See WoltLab/WCF@dcc2332d