Adding Pane classes