Made methods static in Template2LayoutTracker