Add a Training_data class.