final_attribute accepts multiple attribute names; removed unnecessary mutex locking.