[imp] use overridable templates