Fixed error introduced by core change.