Added allow_empty_items parameter

added to docs