Dynamicly finding the related type implemented