FunctionTemplate: Split "names" into "name" and "aliases"