Added new patterns; sync with release 1.2