Implementing stack communication.