Extract as a class