Style fix.
Removed duplicate code.