Execute a function around another function.