public static function load()
 {
     self::$option_key = self::get_option_key();
     self::$options = self::get_options();
     // Register settings, and fields
     add_action('admin_init', array(__CLASS__, 'register_settings'));
     // Check if we need to flush rewrites rules
     add_action('update_option_' . self::KEY, array(__CLASS__, 'updated_option_trigger_flush_rules'), 10, 2);
     // Remove records when records TTL is shortened
     add_action('update_option_' . self::KEY, array(__CLASS__, 'updated_option_ttl_remove_records'), 10, 2);
     add_filter('mainwp_wp_stream_serialized_labels', array(__CLASS__, 'get_settings_translations'));
     // Ajax callback function to search users
     add_action('wp_ajax_mainwp_stream_get_users', array(__CLASS__, 'get_users'));
     // Ajax callback function to search IPs
     add_action('wp_ajax_mainwp_stream_get_ips', array(__CLASS__, 'get_ips'));
 }