Revert "Added methods to conveniently retrieve CSS class and value"

This reverts commit 1ed86a1ddeafac68dfbab6d8dd23a32eab6e0578.