Added get_list() to TypeFactory
Removed an unnecessary function prototype