Removed double declaration of allowFlowReversal