This should be in sms.py module since it used there, or is there a reason to separate them?