Fixed call to a removed function.