Abstract out name tables and pattern tables