patchChooser and class extension