Made classes serializable so that the concept-classifier can be
parallelized.