Adding error handling support methods to avoid code duplication