Fixes typing issues
Merge pull request #1008 from lukecampbell/qc

Fixes typing issues