Fix setUrlGenerator() method (builder)

Closes #97