Remove unnecessary code from Data.