Added doc comments

#277 #278