Fix possible exception in toCamelCase method
Remove useless URL instanciation