Changed defsearchform and defform signatures to include pid column.