Re-initialized document because of Xcode bugs.