Fix up parameter documentation, and factor out inverse range insert.