Optimized functional framework.