A base class to provide reusable functionality for theme objects