Remove unused code from kenai plugin