Split header + footer for inlining sample code