Removed all references to 'ds.current_pipe' by using the generic_fns.pipes API.
Authored by: bugman 2008-09-29
Parent: [r7444]
Child: [r7446]