Separate out fragment classes