Templates splitting.