ENH: Warnings for the case of inner code in collective transitions