Reworked stable heap interface.