Bug 934368 - Extends Promise#MaybeResolve to receive boolean value.
Bug 934368 - Implement |remove| and |removeDeep| for Directory.