Begin implementation of ap_slice_modify in agent.  Change 'flavour'->'flavor' in agent.