Fix reference to self in append_data, should be @collection