Making number of samples parametric in get_latest_statuses
Added missing module docstrings.
Making Markdown escape optional (but enabled by default).