Remove thumbnail-related code.