Implement TLV functionality