Removed some unnecessary code from my previous commit.