Added some typehinting to QA type