Make SP reslover something that can be overridden.

This allows us to specify things to resolve SPs rather than having a setting.