migrate COMPASSContainer sample removal away from ctor