These warnings appeared after switching to Catch, just use the same type for all variables to avoid them.