Changed some methods to protected to make it easier to extend
Merge pull request #15 from neilkennedy/master

Changed some methods to protected instead of private