 		# Prepare
 		docpad = @
 		locale = @getLocale()
-		{collection,templateData} = opts
-		total = 0
-		completed = 0
+		{collection,templateData,renderPasses} = opts
 
 		# Log
 		docpad.log 'debug', util.format(locale.renderingFiles, collection.length)

		# Prepare
		[opts,next] = balUtil.extractOptsAndCallback(opts,next)
		docpad = @
		templateData = opts.templateData or @getTemplateData()
		collection = opts.collection or @getDatabase()
		setProgressIndicator = opts.setProgressIndicator or null

		# Contextualize the datbaase, perform two render passes, and perform a write
		balUtil.flow(
			object: docpad
			action: 'contextualizeFiles renderFiles writeFiles'
			args: [{collection,templateData,setProgressIndicator}]
			next: (err) ->
				return next(err)
		)


		# -----------------------------
		# Other

		# Render Passes
		# How many times should we render documents that reference other documents?
		renderPasses: 1

		# Check Version
		# Whether or not to check for newer versions of DocPad
