Fix warning for unserializable components