Added different balance types and made the preferred balance metric persistent.