Changed: hooks to plugin