let
register_template t =
template :=
Some
t