Minor changes

- Update docs
- Use 'modern' unique names
- Iterative functions now pass the whole [msg], not just the [uid].