Change AddMvc to use TryAdd as well