More function name validation