Restructure source code.