API defines, config handling.