Created plugin by moving code from SVN.