Edited some doc strings and comments.