How to implement downloadable samples for other product types, for example bundle

I want to implement downloadable samples for other product types. I work on Magento 2.1.1. It would be nice to have it for bundle products. For now, I have detected, that in 2.1.1 sampels are added as ui compononet, but I don’t know how to add into different product types. Any code snippets would be useful. Adding it through layout as blocks doesn’t work well - even when I added plugins on method isDownloadable() in order to enable samples for other product types.