Refactor board config.