Object now stores copies of added lines to simplify memory managment.