Parse function names properly.