Use hooks for URLs.

Change-Id: I47abb888dea00c538fd73f341c7be4ad72d4e90a