Upgrade through2 to 0.5.1

Also changed callback style.