CLDIDE-1798 added linking of types to plugin