I understand that this $detecteContainerType is not needed anymore ?