Added state caching for better back-button support.
Fixed `changed` bug in Model.filter.