Corrected bug in the examples, renamed the function for adding repeatable items.