Adding functions.
Added funtions for Items / Triggers.