Fixed some plugin errors.