Fixed method getOptions() and added method getTransitions().