Simple optimized scalar ops added