Register generators for random attrs
Update version
Merge branch 'release/4.0.6' into develop