Added default ports to gates