Fixed header detection of function and method