Added boolean flag to find_or_create.