We are going to implement the invite dialog *inside* the SDK, so there is no need to have all this machinery anymore.