Remove unnecessary namespace declarations, shorten namespace name.