Getting function name in a more sensible way.