With #92 merged. Users can define independent tables then inject db in them. Thus, db:extend need to accept pre-made table and call set_db on them.