Starting point of adding a hook for PELOS.