Revert "Return void on add_transition"

This reverts commit e18cdef9f46390a4a37362e22085bf855cf57f38.