In the first X-Men movie, the screenwriters made up a specific use for Magneto's helmet on the fly.