Updated AVP.Set() to support generic interface