#1166 Changed visibility from protected to public

I hope I'm doing it right
Merge pull request #1168 from charnad/patch-2

#1166 Changed visibility from protected to public