Finished attr persistence

Solving #20