Gem functionality completed.