Cast macro
Tidy
Update docs
Merge branch 'release/1.0.1' into develop