Add option to customize labels' class

Closes #166