Less duplicated code, generalised fruit slices