Updated dos and added deep/shallow attribute merging.   v0.1.2