 		fn = "createOidReference"
 	_priv.native[fn] name, target, force, wrapCallback cb, (ref) =>
 		cb null, new Reference @, ref
+
+###*
+ * Loads a remote with given name.
+ * @param {String} name
+ * @param {Function} cb called when remote has been loaded.
+###
 Repository.prototype.remote = ->
 	_priv = getPrivate @
 	[name, cb] = args

		cb: type: "function"
	_priv.native.remote name, wrapCallback cb, (remote) =>
		return cb null, new Remote @, remote
Repository.prototype.createRemote = ->
	_priv = getPrivate @
	[name, url, cb] = args

 * @property {String} path location of the Git metadata directory
 * @property {String} workingDirectory location of the working directory, if 
 * applicable (non-bare repository)
 * @property {String[]} remotes  names of remotes configured for this repository
 * @property {String[]} references names of references contained in this 
 * repository.
 * @property {Index} index The Git index for this repository.
###
