Add basic functionality to recognize unused declarations of functions and classes. Improve documentation.