Utility for getting arguments of a defined type