Added finally block.