Added URLResourceGenerator to create URLResource objects