Updated the addPane() call to use the version from the Issue661.