Merge branch `rewrite` into `master`.
Merge branch `rewrite` into `master`.
Fix callbacks.
Remove global variable.
Fix prepare.t.js.