Document interface better and add stats