fix in PatternSetModel Python API, missed some important methods