Fix dirty flag of new document.

 * Simplify current_* properties.