Remove unused or duplicate information to reduce output size and processing time using Python. Remove unused styles, unused built-in styles, duplicate styles, or unused lists....and unused_builtin_styles properties to detect and remove styles...You can use the unused_lists property to detect and remove lists...