Returning device on register_listener callback, updated README accordingly.