You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ssr.rb
    path of file: ./repos/bridgetown/bridgetown-core/lib/bridgetown-core/concerns/site
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Bridgetown::Site
  module SSR
    def self.included(base)
      base.extend ClassMethods
    end

    mod
    
    def ssr_setup(&block)
      config.serving = true
      Bridgetown::Hooks.trigger :site, :pre_read, self
      defaults_reader.tap do |d|
        d.path_defaults.clear
        d.read
      end
      reader.read_layouts
      collections.data.tap do |coll|
        coll.read
        self.data = coll.merge_data_resources
      end
      Bridgetown::Hooks.trigger :site, :post_read, self

      block&.call(self) # provide additional setup hook
      return if Bridgetown.env.production?

      Bridgetown::Watcher.watch(self, config, &block)
    end