Switch from private to protected properties

So developers can extend the class.
Merge pull request #4 from DriesForks/fix/switch-private-to-protected-properties

Switch from private to protected properties