Wip mds sessions

Would you mind using the ```textwrap.dedent()``` function here, for better readability?
https://docs.python.org/2/library/textwrap.html#textwrap.dedent