New config API

Refs #4567.