keeping attributes. closes #795

This is pretty straightforwrad but I did this in a branch so that @hadley and/or @kevinushey can decide if this is the right approach.