Removed some unecessary lines of code.