Since args and kwargs are optional make sure they are using expected type.