Minor bugfixes for compo_struct behaviour. Removed deprecated cntrid.