Added classes to pins