Refactor "no arg" detection to use constant.