Added support for auto_item parameter