Using Interfaces for URL Components