Generic Fragment and Enum type for SelectionFragment