Add optional arg methods to parser