Add sm method to be compatible with Jarnac