Obsolete CreateInstance method in InputHelper.