Removed example of registerPlugin without destroy