Split Handler.dispatch into two private methods.