add better docs for record and cursor classes