Updated use of config in form API.