support nicer className syntax (closes #1)