Move logic of hook_node_load() to plugin class.