Xx 2041/reveal kernel
The second pass of compilation after the reveal kernel instantiated the template indicated some problems with the initial function. I fixed the compilation problems and it should be OK now. You should be able to get started on XX-2039 after this is merged.