Remove useless URL instanciation
Fix possible exception in toCamelCase method