Fixes error in undefined error_wrapper