Remove unnecessary try/catch.

Since we now use the Compat class, there is no need for the try/catch
block.