Fix attribute names when using downcast
0.0.10