Added function to get all arguments from method