Added ability to add user defined classes to slides