Add the 'type' attribute back for saving the program name