Sync with Nodeca Code.