Working on bencode API.