Code quality: removing logging statements, adding missing method documentation.