Add documentation for sequence