Parser: build methods and constructors.