Simple boxing optimizations