Moved lambda list extraction functions to a separate file.