Extract function.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.
Function extraction.

I'm not sure at the moment whether this is correct. Note that $tmp gets escaped
a second time inside the function. For the moment I leave it like this.
Function extraction.
Function extraction.
Function extraction.