BUG: Optimization.