Remove stack and function names.