Removed a bit of redundant code.