Inlined template