registration_hook functionality

the registration_hook allows to pull in
additional code at meta table creation
which allows on demand registration and
handling of template types.