Added docs for some patterns