Wrapper for sms gates