enable setting context with just the href

If I didn't misunderstand anything this should fix #29 and #31