Added internal vertex types. Added a template to verify database names.