Adding metadata storage to activity items.