Refactor url schema.