Issue #3: Extended the code generator interface by the functionality to print a kernel function