Fix lint issues with the dynamic_generator code.