Extracted inner classes used for displaying and labelling