 
         bill.pdfurl = pdfUrl if date.year() > 2011
         bills.fetched.push bill
-
     next()
-

        url: loginUrl

    request options, (err, res, body) ->
        return next err if err

        location = res.headers.location
        parameters = location.split('?')[1]
        url = "#{billUrl}?#{parameters}"

# Parse the fetched page to extract bill data.
parsePage = (requiredFields, bills, data, next) ->
    bills.fetched = []
    return next if not data.html?
    $ = cheerio.load data.html
    $('.pane li').each ->
        amount = $($(this).find('strong').get(1)).html()
