Fixed issue with types not being defined for an unused parameter