Encapsulated plugin code.