More work on SMSLib