Add query methods for sms interface