Add inout port support