Add simple runtime config. Add fields and init for kernels.