First direct impl of uri patterns.