Added hat stuff to cosmetic api