include db_register() to instances and functions in Block and GenBlock