set `config` and `package` as `attr` to complete online transformation