Adding centralized error handling and internationalization support.