Return List instead of Set from getClasses (fixes #22)