Made performCollapse public