Patterns of function calls