Fixed template UI to show annotations in import order.