Add beforeInit and afterInit callbacks
Release v0.0.4