Added hn-url function and hn-open generic method.