r5475: Move some existing and new type information functions to typelist.pm