Just out of couriosity: why ${__type##*/} and not a static ending like "eof"?