Added a gate.