VOEs are entities in which (i) the total equity investment at risk is sufficient to enable the entity to finance its activities independently and (ii) the equity holders have the power to direct the activities of the entity that most significantly impact its economic performance, the obligation to absorb the losses of the entity and the right to receive the residual returns of the entity. The usual condition for a controlling financial interest in a voting interest entity is ownership of a majority voting interest. If the Company has a majority voting interest in a voting interest entity, the entity is consolidated.
For the Company's consolidated VIEs, the Company has presented on its consolidated balance sheets, to the extent material, the assets of its consolidated VIEs that can only be used to settle specific obligations of the consolidated VIE, and the liabilities of its consolidated VIEs for which creditors do not have recourse to the Company's general assets outside of the VIE.
Cash and Cash Equivalents
Cash and cash equivalents include all cash balances and money market funds with original maturity periods of three months or less when purchased. As of December 31, 2016 and 2015, cash and cash equivalents included $57.6 million and $81.1 million, respectively, of unrestricted cash held at project-level subsidiaries, which was available for project expenses but not available for corporate use.
Restricted cash consists of cash on deposit in financial institutions that is restricted to satisfy the requirements of certain debt agreements and funds held within the Company's project companies that are restricted for current debt service payments and other purposes in accordance with the applicable debt agreements. These restrictions include: (i) cash on deposit in collateral accounts, debt service reserve accounts and maintenance reserve accounts; and (ii) cash on deposit in operating accounts but subject to distribution restrictions related to debt defaults existing as of the balance sheet date.
As discussed in Note 11. Long-term Debt, the Company was in default under certain of its non-recourse financing agreements as of the financial statement issuance date for the years ended December 31, 2016 and 2015. As a result, the Company reclassified $65.3 million and $61.1 million, respectively, of long-term restricted cash to current as of December 31, 2016 and 2015, consistent with the corresponding debt classification, as the restrictions that required the cash balances to be classified as long-term restricted cash were driven by the financing agreements. As of December 31, 2016, $67.1 million of cash and cash equivalents was also reclassified to current restricted cash as the cash balances were subject to distribution restrictions related to debt defaults that existed as of the balance sheet date. $33.8 million of this reclassification amount was reclassified from current restricted cash to assets held for sale as it related to the portfolios discussed in Note 4. Assets Held for Sale. No similar reclassifications were made as of December 31, 2015, as these defaults and distribution restrictions did not exist as of the balance sheet date for that period.
Accounts Receivable and Allowance for Doubtful Accounts
Accounts receivable are reported on the consolidated balance sheets, including both billed and unbilled amounts, and are adjusted for any write-offs as well as the allowance for doubtful accounts. The Company establishes an allowance for doubtful accounts to adjust its receivables to amounts considered to be ultimately collectible and charges to the allowance are recorded within general and administrative expenses in the consolidated statements of operations. The Company's allowance is based on a variety of factors, including the length of time receivables are past due, significant one-time events, the financial health of its customers and historical experience. The allowance for doubtful accounts was $3.2 million and $2.7 million as of December 31, 2016 and 2015, respectively, and charges to the allowance recorded within general and administrative expenses for the years ended December 31, 2016 and 2015 were $0.5 million and $2.7 million, respectively. There were no charges to the allowance recorded for the year ended December 31, 2014. Accounts receivable are written off in the period in which the receivable is deemed uncollectible and collection efforts have been exhausted. There were no write-offs of accounts receivable for the years ended December 31, 2016, 2015 and 2014.
Renewable Energy Facilities
Renewable energy facilities consist of solar generation facilities and wind power plants that are stated at cost. Expenditures for major additions and improvements are capitalized, and minor replacements, maintenance and repairs are charged to expense as incurred. When renewable energy facilities are retired, or otherwise disposed of, the cost and accumulated depreciation is removed from the consolidated balance sheet and any resulting gain or loss is included in the