Added post on closure as SAM instance.