Add inline docs for module implementation