diff --git a/examples/tictactoe.rs b/examples/tictactoe.rs
index b0bd551..7e8d66c 100644
--- a/examples/tictactoe.rs
+++ b/examples/tictactoe.rs
@@ -180,18 +180,6 @@ impl<'a> Externals for Runtime<'a> {
_ => panic!("unknown function index")
}
}
-
- fn check_signature(&self, index: usize, sig: &FunctionType) -> bool {
- match index {
- SET_FUNC_INDEX => {
- sig.params() == &[ValueType::I32] && sig.return_type() == None
- }
- GET_FUNC_INDEX => {
- sig.params() == &[ValueType::I32] && sig.return_type() == Some(ValueType::I32)
- }
- _ => panic!("unknown function index")
- }
- }
}
struct RuntimeModuleImportResolver;
diff --git a/spec/src/run.rs b/spec/src/run.rs
index dafe5d0..ba68df3 100644
--- a/spec/src/run.rs
+++ b/spec/src/run.rs
@@ -81,13 +81,6 @@ impl Externals for SpecModule {
_ => panic!("SpecModule doesn't provide function at index {}", index),
}
}
-
- fn check_signature(&self, index: usize, _signature: &FunctionType) -> bool {
- match index {
- PRINT_FUNC_INDEX => true,
- _ => false,
- }
- }
}
impl ModuleImportResolver for SpecModule {
diff --git a/src/interpreter/host.rs b/src/interpreter/host.rs
index 5d1ffab..d77dc1c 100644
--- a/src/interpreter/host.rs
+++ b/src/interpreter/host.rs
@@ -1,5 +1,4 @@
use std::any::TypeId;
-use elements::FunctionType;
use interpreter::value::RuntimeValue;
use interpreter::Error;
@@ -38,8 +37,6 @@ pub trait Externals {
index: usize,
args: &[RuntimeValue],
) -> Result