style, docs: add missing documentation and remove commented lines.