Clean up code comments.
Maintenance: removed obsolete functions.