adding duck typing section so that it's not unexpected
(cherry picked from commit 21f37e43a1478be99a5f020ff2b0c1ff94600619)