classifier cleanup and documentation