Add method findMainOrContext on behaviour twinnable