Updated plugin.
Added comments.