 		# Prepare
 		[opts,next] = balUtil.extractOptsAndCallback(opts,next)
 		docpad = @
-		templateData = opts.templateData or @getTemplateData()
-		collection = opts.collection or @getDatabase()
-		setProgressIndicator = opts.setProgressIndicator or null
+		opts.templateData or= @getTemplateData()
+		opts.collection or= @getDatabase()
+		opts.renderPasses or= @getConfig().renderPasses
+		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}]
+			args: [opts]
 			next: (err) ->
 				return next(err)
 		)

				docpad.log 'debug', util.format(locale.renderedFiles, collection.length)
				return next()

		# Set progress indicator
		opts.setProgressIndicator? -> ['renderFiles',completed,total]

		# Render File
		renderFile = (file,next) ->
			# Skip?
			dynamic = file.get('dynamic')
			render = file.get('render')
			relativePath = file.get('relativePath')

			# Render
			if dynamic or (render? and !render) or !relativePath or file.render? is false
				next()
			else
				file.render({templateData},next)
			return file

		# Render Collection
		renderCollection = (collection) ->
			total += collection.length
			tasks.push (next) ->
				# Cycle
				subTasks = new balUtil.Group(next)
				collection.forEach (file) -> subTasks.push (complete) -> renderFile file, (err) ->
					++completed
					complete(err)

				# Fire
				subTasks.async()
			return collection

		# Prepare the collections
		standaloneCollection = collection.findAll('referencesOthers':false)

		# Render the collections
		renderCollection standaloneCollection
		tasks.push ->
			renderCollection renderCollection collection.findAll('referencesOthers':true)

		# Start rendering
		docpad.emitSync 'renderBefore', {collection,templateData}, (err) =>
			return next(err)  if err
			tasks.sync()


		# -----------------------------
		# 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
