Adding implementation for ducktyping