Added relationship between plugs and routines.