Added shared scheme per SO advice.