Fixed bug with URL conversion.
Changed author name, and provided implementation of isLeaf