Add method utility to check arguments