Added binds for functions from libpurple which return structure attributes.