Added generic gate and gate view interfaces.