Fix issue where the KPD module was being imported and instantiated rather than the KPD class.