Enforce arguments on static method invocations