Introduced NppPlugin class to encapsulate plugin logic.