Account for APP.ns.toValue and APP.ns.toFunction.