Add power-of-two data structures
Work on extensions, update protocol