Thanks for the pointer, completely missed the existence of code_interface !!! This is easier for me to understand.
code_interface