Add SPM support.