First draft at heap API.