Private methods changed to protected to allow their inheritance.
Merge pull request #9 from doubleking/master

Updated methods access from private to protected.