Adding the pane class