Optimize specs