Adding the pattern doc.