Merge pull request #305 from p4ul/patch-2

changed private functions to protected so MY_URI can override them.