Added transitions submodule.
Docstring changes.