Made stored enums identifiable.
Initial support for database schema maintenance.