Add static methods to PatternCreator class