Support callback param, fixes #111