Improve docs, mention possible panics.