Added add asset code.