Use URI argument instead of String in preprocessing #1544