Move Config and RES to the API.