Set code to be unique, as no empty codes are generated anymore.