How does `Database.__subclasses__()` get filled?