Minor update of docs and length checks