Updated method doco
Fixed invalid var reference in getUrl