Switched plugin back to object-oriented syntax.