Revert "Add collapse."

This reverts commit ab5b91fe2cea535229c8356c35347604d9852bab.