Added class-level documentation for Selection.

Also fixed another bug from Lea (I hope).