Add png and svg attributes to class docstring