Added method to get subsets of an input.