Filling out missing documentation and removing simpler TODOs.