Fixed old references to the TypeService