Fix missing logging imports in declarative