Reduced redundant code.