Replace deprecated wfGetLB() calls here and there