Moved FVDocument to Swift.