Add upsample documentation.