Simplified dispatch function from dispatch module.