add namespace to types