Removes unneeded code as pointed out by Cheridan. Thanks for the help.