fix optional group handling (they're always there, but None). 'source' docstrings