adds replacement method for data component of ballgown object