Fix factory names.