Return List instead of Set from getClasses