Ninja: add missing @Override to new toString() methods