Added the check of a plugin start.