Added more code docs.