Some wrap and utility functions for multi-class classification.