Clean up ProgramEntry's ToString method.