Plugin cleanup.