A segment of code that is used to connect two pre-existing pieces of code and retain full functionality. See also off-the-rack.