Removed code that was duplicated on top of itself.