CS-4873: Fixes error thrown when $translator variable is used in GetURI() method.
CS-4873: Removes debugging code, which was in previous commit
Merge pull request #447 from m038/CS-4873

CS-4873: Fixes error thrown when $translator variable is used in GetURI(...