First draft of builder API that is used during parsing the XML files.