Use GenericSet instead of HeshTable for sets

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>