Refactor DB/Table.