Extract function. [#87]