Add middle data type verification.