Add refdb.
Remove compat mode and use refdb.