Helper methods

This commit contains some simple changes that I needed to add to the existing code base to support some future use cases I have that involve parsing multiple Puppetfiles.