Support ESI tag in CompaTables, improve extension structure