Performance optimizations. Views are now constructed on demand.