Improved extract() function formatting.