Added sm-integrate-with macro