Fixed read-only problems.