It's also done this way so a real emergency exit can be installed instead of the plug if the airline (or another airline that buys the plane) decides to increase seating capacity. It would be really inconvenient (not to mention mechanically questionable) if you would have to weld additional stuff onto the fuselage to accomplish this, so the parts that are connected to the door frame are already there...