added support for multiple appearance attributes, closes #12