Fixed up some R docs to match the updated code.