batch build optimize, remove useless ValueType annotation.