Added dmt_free(), updated example