Remove unnecessary try block.