Hooking up code emission.