Removed overwrite parameter from add_transition definition.