Add smart ids.