Missing use statements in component dispatcher and also typo in variable name.