deprecated Data class.