Fetch the simple name of the class instead of doing regex dances.