Document and spec the get_master_info helper.