Simplify views to make fewer  database calls.