 		database = @getDatabase()
 		result = database.findOne(fullPath: data.fullPath)
 		unless result
-			result = @createDocument(data,options)
+			result = @createDocument(data, options)
 			database.add(result)
 		result
 

					stat: fileStat

				# Create file
				file = createFunction(data,options)
				filesToLoad.add(file)

				# Next

		# Fetch a layout
		document.on 'getLayout', (opts={},next) ->
			opts.collection = docpad.getCollection('layouts')
			layout = docpad.getFileBySelector(opts.selector, opts)
			next(null, {layout})

		# Render
		document.on 'render', (args...) ->
