Removes the try catch block that is no longer necessary