Move all configuration to the top of the file for neatness.