Add manual id generation.