Add python dispatcher.