Removed an unnecessary block of code.