HACK: FieldSpec dependency on pn.app.ctx.cfg wrapped in a try catch to allow for better testing