Templates extends directive