Make sp_flush take an option for what to flush.