Restructure the source.