Fix bug with callbacks.
Update History.md.
Merge branch 'release/0.4.0'
Merge tag '0.4.0' into develop

0.4.0