Added initial implementation of SPM interface