Fix usage of legacy method signature