How to weave and add extensions