Adds SMS request method.
General code cleanup.