Added getUri and support for links with hash