remove parameter check. The original code didn't check param types, only method name