Fix missing imports in some endpoint modules.