Check types.