[POC] Extension support

This PR adds extension support. For now, it is just a POC & I am not sure if is a good or bad idea...

Waiting feedbacks :)