Fixed stat retrieval and views.