Fixed last commit bug, updated doc.