Handle named objects, also remove obsolete dump_sprint logic