Implement Extract and ExtractTest classes