avoid ducktyping on imports