Extract to gem.