Use getDispatchUri

According to HaxeBeluga/Beluga#113