Add CodeServer as argument in parse_type
Preparing for parsing remote types