Replaced deprecated commands