Add internal transitions.

Relates to issue #10.