Fix trailing comma, update doc and change to rst