Extended configuration: optionally use functions instead of simple values.