change getDefaultTransitions to getTransitions