Add patterns interface