[misc] Add missing @Override
[performances] Minor optimization