Added godoc comments.