Updated Plugin example for 6.x