Accept Hash that implements #path (fixes #180)