Refactor sequence to get at collections