Revert "removed all dependence/suggest on SGP."

This reverts commit d16f2c0805036873315998cfdeb371fb285928e2.