Remove theme dependencies.