Minor changes to the pane class.