Adding function get_types to ProxyInfo class