Removed unused theme helper functions