Added (rough) Gate trait.