Added documentation to collision class