Updated method visibility for the ParserGate.cs