Adding semantic classes