Minor cleanup of generated ruby