Added gem support for levels