Clean up math namespace.