Resharper Optimizations

Removes un needed items. Shortened code to make plugin size smaller and plugin faster to run.