Fixed new plugin hooks