put comm detector type declarations in their proper place