Add Lua function class_names() giving a list of registered types.