Change some writer methods to protected
Merge pull request #11 from johangirod/master-namespace

Change some writer methods to protected