Remove now unused ComponentFilterByType and fix typo in comments.