1 2 3 4 5
{% if args %} owner.{{ reg_method }}({{ args }}, handler) {% else %} owner.{{ reg_method }}(handler) {% endif %}