Dynamically define URI methods