Fixed a bug with namespace mapping.