Chnaging the depricated class out.