Some detours improvements. It supports hook chaining now.