{Frank Mittelbach} {Hooks, sockets and plugs} {Driven by the need to support tagging, a number of ideas are being introduced into the \LaTeX\ kernel to allow more flexible changes to code paths, design aspects and document command creation. Hooks were introduced a few releases ago, and provide a way to manage the interaction between packages in a flexible and powerful way. More recently, we brought in sockets and plugs: places where exactly one code path is needed, but exactly what that code path is needs to be swappable. In this talk, we'll look at why we need both sockets and hooks, and which to use when.}