Adapt to latest WoltLab/WCF API changes

See WoltLab/WCF@42d7d2cc