Suport multiple upload and pre define types.