Fix for models merge.