Changes To The Pattern to set templates.