Remember that you can set the type of each of the arguments so that there's no need to add an explicit type cast. Adding this information also adds a validation step to the input of the arguments.