Check against correct types