Closure and JSON portions complete.