Added mapping from handle => callbacks to fix #3