This not only makes it easier to expose to JavaScript, it also paves the way for a much more efficient implementation.