Improved the comments explaining what the class ex does.