Ensure that function names are generated properly