Updated __getitem__ method now implemented on PatternGenerator only