v0.0.x: support done callback context
v0.0.x: fix code style issues