Add two common data extraction methods