Adding URLPatternFactory