Extract common base routines into abstract base class.
Implement backend handling of pseudo alien tables.
Add new attribute class for pseudo alien tables.
Add missing newlines in templates.