Add documentation for format and extraction