Update from 1.0.0 stable branch.