Rename resolveLocal to dispatchLocal