Remove function source from chunk header

Functions were moved to the chunk.c file