Remove try-catch block