Extract HeaderView class