Easier and cleaner way to do semantic for default arguments