Implement view compilation and layout support.