Check types