Extract elements parsing into a separate object (ElementsParser)