Adds explicit types to the parameters of a method.