Add proper docs for return type of sformat.