The preferred mechanism is that accessors should be <any>s, since they can be a constant (number), a key (string), or a function (IAccessor). This is notably messy and has been noted as #290.