       opts[:force] || Mix.Utils.stale?(Mix.Project.config_files(), [manifest]) ->
         clean()
         paths = consolidation_paths()
+
         paths
-        |> Protocol.extract_protocols
+        |> Protocol.extract_protocols()
         |> consolidate(paths, output, manifest, protocols_and_impls, opts)
 
       protocols_and_impls ->

      Enum.reduce(new_metadata -- old_metadata, protocols, fn
        {_, {:impl, protocol}, _beam}, protocols ->
          Map.put(protocols, protocol, true)
        {protocol, :protocol, _beam}, protocols ->
          Map.put(protocols, protocol, true)
      end)

    removed_metadata =
      old_metadata -- new_metadata

    removed_protocols =
      for {protocol, :protocol, _beam} <- removed_metadata,

  end

  defp remove_consolidated(protocol, output) do
    File.rm(Path.join(output, "#{protocol}.beam"))
  end
end
