Make sure a setter is public before invoking it
Merge pull request #64 from thewilkybarkid/protected-setter

Make sure a setter is public before invoking it