Updated packaged plugins to use definition function where appropriate [#12]