Looks like `@expected_arity` is no longer used and can be removed?