extend complex template.
add custom engine.