Add support for checking data types with multiple levels