Functorizing on levels instead of buffers.