Reordered structure to make it more distutils-friendly.