Restoring old array_keys optimizer, adding more array optimizers