Added an extra layer of code emission because emission of messages
requires accessFields to be populated fully due to visitAccess and
primitives.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>