Implementing XMPP handlers for get and remove.