Use gate classes