Add format to SPM object