Documentation for bang patterns, and other improvements