Preserve hacks

This implements interface for preserving some CSS hacks.