Is there a way to avoid having to list all the members of the accessor? Possibly specifying a class which is returned by the accessor? (e.g.: https://opendrift.github.io/trajan/api.html#methods)