Add new Patterns class