Fix ducktyping