Fix namespacing in Main class.