Add method argument type checking.