Turning static into templates