Add template extend system, but still experimental and shouldn't be used