Added origin argument to dispatch methods