Create methods to ask for regexp, null, defined and node elements.