Make a few methods public to be able to reuse them
Merge pull request #8 from gnodet/public-methods