Changed classes to collections element