Fix dynamic function calls.