* applied coding styles.
* added $l.parent for upper scope access.
* added $l.helpers.duplicate.