Adding Extract class.