Exposing API for determining arity