Add namespace translations for nan