Added docs and made make_master only work in STACK mode.