Minor performance improvements for views
Bug fixes for new extension dependencies code