I'd love the types to be more description. Session is a PID, yes? jid is exmpp_jid:jid(), full_jid is ne_binary() (or vice versa), etc.