Add full function header to static and dynamic model files