Added setFormats method to Assets