Revert "Rename extract function"

This reverts commit 5a3914dbfce4beba394f85841a56de1963e2b660.