Remove outdated internal documentation
Improve function name
Simplify implementation of classDef evaluation

There was previously a useless check for an empty body. If the body is empty, the foldLeft method is going to give the desired result.