Make return check wrapper faster (copy code instead of call)