Fixed attribute assignment
Docs update