In classical control theory the so-called lag or lead controller is often used to reshape the loop frequency response to provide improved stability margins. The design methods used are ad hoc and often based on trial and error but nevertheless useful because of the widespread use of the first order controllers. Indeed they are next to the PID controllers in importance and usage.