Using a different way to check arg types.