Added documentation to Classify function