         def finalize(_ignored_state), do: nil
       end
 
-      defp apply_to_sub_modules(function) do
-        @sub_context_modules
-        |> Enum.map(fn(sub_module) -> apply(sub_module, function, []) end)
-        |> Enum.flat_map(fn(x) -> x end)
-      end
-
     end
   end
 

    quote do
      @scenario_finalize_defined true
      def finalize(state) do
        case is_function(unquote(function), 1) do
          true  -> unquote(function).(state)
          false -> unquote(function).()
        end
      end
    end

defmodule WhiteBread.Context do

  alias WhiteBread.Context.StepMacroHelpers
  alias WhiteBread.Context.StepExecutor

