Fix call of function references.